package analyticsServer;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import analyticsServer.dataLayer.DataLayer;

public class Tester {


	public static void main(String[] args) {
		String filter="(USER_.*)|(BID_.*)";
		Pattern pattern=Pattern.compile(filter);
		for(int i=0;i<DataLayer.getEventTypes().length;i++){
			Matcher matcher=pattern.matcher(DataLayer.getEventTypes()[i]);
			if(matcher.find())System.out.println(matcher.group());
		}
	}

}
